package com.chixing.day09_innerclass.work_08;

public class GoveOrder extends Order{
    public GoveOrder() {
    }

    public GoveOrder(int orderNo, String ownerName, float orderPrice, int productCount, String orderCreateDate) {
        super(orderNo, ownerName, orderPrice, productCount, orderCreateDate);
    }

    @Override
    public Order orderclone() {
        GoveOrder subOrder = new GoveOrder() ;
        subOrder.setOrderNo(this.getOrderNo());
        subOrder.setOwnerName(this.getOwnerName());
        subOrder.setOrderPrice(this.getOrderPrice());
        subOrder.setOrderCreateDate(this.getOrderCreateDate());
        return subOrder;
    }
}